/*
 * @Author: xiaosihan 
 * @Date: 2022-07-11 07:51:56 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2023-03-20 11:22:03
 */

import hashHistory from "@hashHistory";
import { Button } from "antd";

const Home2 = () => {

    const goto = (path: string) => {
        hashHistory.push(path);
    }

    return <div>
        <p>home2</p>
        <Button>123</Button>
        <button onClick={() => goto("/")} >goto home</button>

    </div>
}

export default Home2;